<template>
  <div>
    <mt-cell title="监护人手机" :value="getSaleStudent.parentMobile"></mt-cell>
    <mt-cell title="姓名" :value="getSaleStudent.name"></mt-cell>
    <mt-cell title="性别" :value="sexList[getSaleStudent.sex]"></mt-cell>
    <mt-cell title="家庭住址" :value="getSaleStudent.address"></mt-cell>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  computed: {
    ...mapGetters({
      getSaleStudent: 'sale/getSaleStudent'
    })
  },
  data () {
    return {
      sexList: {
        1: '男',
        2: '女'
      }
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
